package com.wisdytech.common.bean.event;

import com.wisdytech.common.enums.ActionType;
import org.springframework.context.ApplicationEvent;

/**
 * dcs设备事件
 * @author dlb
 *
 */
public class DcsMqEvent extends ApplicationEvent {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2636650419209653678L;
	
	private String eqCollectionId;
	
	private ActionType type;

	public DcsMqEvent(Object source,String eqCollectionId,ActionType type) {
		super(source);
		this.eqCollectionId=eqCollectionId;
		this.type=type;
	}

	public String getEqCollectionId() {
		return eqCollectionId;
	}

	public void setEqCollectionId(String eqCollectionId) {
		this.eqCollectionId = eqCollectionId;
	}

	public ActionType getType() {
		return type;
	}

	public void setType(ActionType type) {
		this.type = type;
	}
	
	
	

}
